cmake_minimum_required(VERSION 2.8.3)

project(trackworld)

find_package(catkin REQUIRED)

catkin_package()

find_package(roslaunch)

foreach(dir config launch meshes urdf)
	install(DIRECTORY ${dir}/
		DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/${dir})
endforeach(dir)

# add_executable(leader scripts/platoon/leader.cpp)
# target_link_libraries(leader ${catkin_LIBRARIES})
# #add_dependencies(master stage_first_generate_messages_cpp)

# #add_executable(slave scripts/platoon/slave.cpp)
# #target_link_libraries(slave ${catkin_LIBRARIES})

# add_executable(main scripts/platoon/main.cpp)
# target_link_libraries(main ${catkin_LIBRARIES})
# add_dependencies(main ${PROJECT_NAME}_generate_messages_cpp)

# add_executable(tf_broadcaster scripts/platoon/tf_broadcaster.cpp)
# target_link_libraries(tf_broadcaster ${catkin_LIBRARIES})

# add_executable(pure scripts/platoon/pure.cpp)
# target_link_libraries(pure ${catkin_LIBRARIES})
